﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AVISOutBound.SSOServer.Payment.Wechat
{
    /// <summary>
    /// 微信支付退款参数
    /// </summary>
    public class WechatRefundParam
    {
        /// <summary>
        /// 微信应用ID
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 微信支付——商户ID
        /// </summary>
        public string MchId { get; set; }

        /// <summary>
        /// 微信支付——商户支付密匙
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 微信支付——设备号
        /// </summary>
        public string DeviceInfo { get; set; }

        /// <summary>
        /// 微信支付——退款证书地址（绝对路径）
        /// </summary>
        public string CertPath { get; set; }

        /// <summary>
        /// 证书密码，默认：商户号
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 订单总金额
        /// </summary>
        public decimal TotalFee { get; set; }

        /// <summary>
        /// 退款金额
        /// </summary>
        public decimal RefundFee { get; set; }

        /// <summary>
        /// 退款单号
        /// </summary>
        public string OutRefundNo { get; set; }

        /// <summary>
        /// 商户订单号
        /// </summary>
        public string OutTradeNo { get; set; }

        /// <summary>
        /// 微信支付单号
        /// </summary>
        public string WechatOrderNo { get; set; }

    }
}
